package org.misalen.web.server.forms.driver;

import org.misalen.annotations.ModelComment;
import org.misalen.validate.annotation.Length;
import org.misalen.validate.annotation.MobilePhone;
import org.misalen.validate.annotation.Required;
import org.misalen.web.server.config.Uncertain;

public class DriverRegisteredForm {

	@MobilePhone
	@Required
	@ModelComment(value = "手机号")
	private String mobile;

	@Length(length = Uncertain.smsCodeLength)
	@ModelComment(value = "验证码")
	private String smsCode;

	@Required
	@ModelComment(value = "密码")
	private String password;

	@Length(max = 10,min = 1)
	@ModelComment(value = "用户名")
	private String userName;

	@Required
	@ModelComment("归属城市")
	private String belongCity;

	@Required
	@ModelComment("年龄范围")
	private String ageRange;

	@Required
	@ModelComment("社会群体")
	private String socialGroup;
	
	@Required
	@ModelComment(value = "设备唯一标识")
	private String imei;
	
	@Required
	@ModelComment("头枕机码")
	private String headrestCode;
	
	@Required
	@ModelComment("后座机码")
	private String backseatCode;
	@Required
	@ModelComment("车牌号")
	private String vehicleNumber;
	@Required
	@ModelComment("车型")
	private String vehicleModel;
	
	
	public String getVehicleNumber() {
		return vehicleNumber;
	}


	public void setVehicleNumber(String vehicleNumber) {
		this.vehicleNumber = vehicleNumber;
	}


	public String getVehicleModel() {
		return vehicleModel;
	}


	public void setVehicleModel(String vehicleModel) {
		this.vehicleModel = vehicleModel;
	}


	/**  
	 * 获取headrestCode  
	 * @return headrestCode headrestCode  
	 */
	public String getHeadrestCode() {
		return headrestCode;
	}
	

	/**  
	 * 设置headrestCode  
	 * @param headrestCode headrestCode  
	 */
	public void setHeadrestCode(String headrestCode) {
		this.headrestCode = headrestCode;
	}
	

	/**  
	 * 获取backseatCode  
	 * @return backseatCode backseatCode  
	 */
	public String getBackseatCode() {
		return backseatCode;
	}
	

	/**  
	 * 设置backseatCode  
	 * @param backseatCode backseatCode  
	 */
	public void setBackseatCode(String backseatCode) {
		this.backseatCode = backseatCode;
	}
	

	public String getImei() {
		return imei;
	}

	public void setImei(String imei) {
		this.imei = imei;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getSmsCode() {
		return smsCode;
	}

	public void setSmsCode(String smsCode) {
		this.smsCode = smsCode;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getBelongCity() {
		return belongCity;
	}

	public void setBelongCity(String belongCity) {
		this.belongCity = belongCity;
	}

	public String getAgeRange() {
		return ageRange;
	}

	public void setAgeRange(String ageRange) {
		this.ageRange = ageRange;
	}

	public String getSocialGroup() {
		return socialGroup;
	}

	public void setSocialGroup(String socialGroup) {
		this.socialGroup = socialGroup;
	}
}
